﻿using AntMovement.Core.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AntMovement.Core.Entity
{
    [Serializable]
    public class Axis
    {
        /// <summary>
        /// 轴号
        /// </summary>
        public ushort AxisID { get; set; }
        /// <summary>
        /// 卡号
        /// </summary>
        public ushort CardNo { get; set; }

        /// <summary>
        /// 轴命名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 轴顺序
        /// </summary>
        public ushort AxisOrderly { get; set; }

        /// <summary>
        /// 控制器名称
        /// </summary>
        public string MotionName { get; set; }

        /// <summary>
        /// 控制器类型
        /// </summary>
        public MotionType Type { get; set; }
        public string IP { get; set; }
        /// <summary>
        /// 轴参数
        /// </summary>
        public AxisParameter Parameter { get; set; }

        /// <summary>
        /// 轴状态
        /// </summary>
        public AxisStatus Status { get; set; }

        /// <summary>
        /// 行程单位换算
        /// </summary>
        public AxisUnitConversion UnitConversion { get; set; }
    }
}
